package com.qpkj.oms.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.qpkj.common.annotation.Excel;
import com.qpkj.common.core.domain.BaseEntity;

/**
 * 库存记录对象 oms_stock_recoder
 *
 * @author ruoyi
 * @date 2022-12-20
 */
public class OmsStockRecoder extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    private Long recoderId;

    /**
     * 日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date recoderDate;

    /**
     * 物料名称
     */
    @Excel(name = "物料名称")
    private String recoderName;

    /**
     * 物料编号
     */
    @Excel(name = "物料编号")
    private String recoderNo;

    /**
     * sku
     */
    @Excel(name = "sku")
    private String recoderSku;

    /**
     * 库存变化
     */
    @Excel(name = "库存变化")
    private String recoderChanage;

    /**
     * 原因
     */
    @Excel(name = "原因")
    private String recoderReason;

    /**
     * 经办人
     */
    @Excel(name = "经办人")
    private String recoderOpter;

    /**
     * 关联任务号
     */
    @Excel(name = "关联任务号")
    private String taskNo;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    private String delFlag;

    /**
     * 分类名称
     */
    @Excel(name = "分类名称")
    private String categoryName;
    /**
     * 厂家
     */
    @Excel(name = "厂家")
    private String manuFactor;
    /**
     * 颜色
     */
    @Excel(name = "颜色")
    private String colour;

    public String getColour() {
        return colour;
    }

    public void setColour(String colour) {
        this.colour = colour;
    }

    public String getManuFactor() {
        return manuFactor;
    }

    public void setManuFactor(String manuFactor) {
        this.manuFactor = manuFactor;
    }

    public void setRecoderId(Long recoderId) {
        this.recoderId = recoderId;
    }

    public Long getRecoderId() {
        return recoderId;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public void setRecoderDate(Date recoderDate) {
        this.recoderDate = recoderDate;
    }

    public Date getRecoderDate() {
        return recoderDate;
    }

    public void setRecoderName(String recoderName) {
        this.recoderName = recoderName;
    }

    public String getRecoderName() {
        return recoderName;
    }

    public void setRecoderNo(String recoderNo) {
        this.recoderNo = recoderNo;
    }

    public String getRecoderNo() {
        return recoderNo;
    }

    public void setRecoderSku(String recoderSku) {
        this.recoderSku = recoderSku;
    }

    public String getRecoderSku() {
        return recoderSku;
    }

    public void setRecoderChanage(String recoderChanage) {
        this.recoderChanage = recoderChanage;
    }

    public String getRecoderChanage() {
        return recoderChanage;
    }

    public void setRecoderReason(String recoderReason) {
        this.recoderReason = recoderReason;
    }

    public String getRecoderReason() {
        return recoderReason;
    }

    public void setRecoderOpter(String recoderOpter) {
        this.recoderOpter = recoderOpter;
    }

    public String getRecoderOpter() {
        return recoderOpter;
    }

    public void setTaskNo(String taskNo) {
        this.taskNo = taskNo;
    }

    public String getTaskNo() {
        return taskNo;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("recoderId", getRecoderId())
                .append("recoderName", getRecoderName())
                .append("categoryName", getCategoryName())
                .append("manuFactor", getManuFactor())
                .append("colour", getColour())
                .append("recoderDate", getRecoderDate())
                .append("recoderName", getRecoderName())
                .append("recoderNo", getRecoderNo())
                .append("recoderSku", getRecoderSku())
                .append("recoderChanage", getRecoderChanage())
                .append("recoderReason", getRecoderReason())
                .append("recoderOpter", getRecoderOpter())
                .append("taskNo", getTaskNo())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
